package com.itheima.d10;

public class Java10 {
    public static void main(String[] args) {
        Test t1 = new Test("夏洛","Java");
        t1.printinfo();
        Test02 t2 = new Test02("秋雅",1000);
        t2.printinfo();
        System.out.println("----------------------------------");
        //t1.setSkills("python");
        System.out.println(t1.getSkills());
        //权限修饰符：略

    }
}
